package com.weixing.mall.provider.model.dto.ads;

import com.weixing.mall.base.enums.IsEnableEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author wx
 * @Date 2019/9/9 17:36
 * @Version 1.0
 */
@Data
public class MediaAgentBindDto {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "广告专员")
    @NotNull(message = "广告专员不能为空")
    private Long director;
    @ApiModelProperty(value = "代理商")
    @NotNull(message = "代理商不能为空")
    private Long agent;
    @ApiModelProperty(value = "描述")
    @NotNull(message = "描述不能为空")
    private String desp;
    @ApiModelProperty(value = "是否有效")
    private IsEnableEnum isEnable;
}
